package chaowan.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class OrderMain {
    private Long oid;

    private Long uid;

    private BigDecimal total;

    private String status;

    private String receiveInfo; // 地址信息直接存在这里

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date created;
}
